#include <gtest/gtest.h>

#include "algorithm/common/include/fib.h"
TEST(fibbase, BaseTest) {
  int result[] = {0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55};
  for (int i = 0; i < 10; i++) {
    ASSERT_EQ(fib1(i), result[i]);
  }
}
